package com.autumn.sms.client;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 发送短信属性
 * 
 * @author 老码农
 *
 *         2018-01-11 12:28:50
 */
@ConfigurationProperties(prefix = AutumnSmsProperties.PROPERTIES_PREFIX)
public class AutumnSmsProperties {
	/**
	 * 属性前缀
	 */
	public final static String PROPERTIES_PREFIX = "autumn.sms";

	/**
	 * 服务key 的属性
	 */
	public final static String PROPERTIES_SERVICE_KEY = PROPERTIES_PREFIX + ".serviceKey";

	private String serviceKey;

	/**
	 * 获取服务Key
	 * 
	 * @return
	 *
	 */
	public String getServiceKey() {
		return serviceKey;
	}

	/**
	 * 设置服务Key
	 * 
	 * @param serviceKey
	 *            服务Key
	 *
	 */
	public void setServiceKey(String serviceKey) {
		this.serviceKey = serviceKey;
	}
}
